package com.sunshine.controller.convert;

import com.sunshine.controller.dto.SubjectCategroyDTO;
import com.sunshine.domain.entity.SubjectCategroyBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @version 1.0
 * @Author 夏百友
 * @Date 2025/11/2 16:21
 */
@Mapper
public interface SubjectCategroyConvertDTO {

    SubjectCategroyConvertDTO INSTANCE = Mappers.getMapper(SubjectCategroyConvertDTO.class);

    SubjectCategroyBO convertCategoryDtoToBo(SubjectCategroyDTO subjectCategorydto);

    List<SubjectCategroyDTO> convertCategoryBoToDtoList(List<SubjectCategroyBO> subjectCategoryBOList);
}